Skip to content

Instantly share code, notes, and snippets.

@Po-Jen
Po-Jen / swe-interview-prep.md
Created May 20, 2018 04:03
軟體工程師面試資源最簡整理與技巧分享 for 柏豪

軟體工程師面試資源最簡整理與技巧分享

前言

只要是在 CS 產業,想要當軟體工程師,基本的資料結構和演算法功力是必須要時時打磨的,這次就整理一些好用的工具,而且盡量把資源最小化,讓大家在準備面試時有足夠資源,又不會被太多資料弄得暈頭轉向。

線上練習寫 code 網站

@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active May 16, 2024 05:49
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@tylerneylon
tylerneylon / learn.lua
Last active May 16, 2024 05:47
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
@Jnesselr
Jnesselr / huffnesshopp.cpp
Created August 13, 2015 19:39
Huffman compression and decompression (Puff) that was done for a school assignment and designed to be fast
/*
Name: Huff.cpp
Authors: Caleb Hopper and Justin Nesselrotte
Data: 10/27/2013
Description: This program takes as input from the console a
file name. It then writes out a compressed file with the same
file name but a .huf extension. It does this by using the
Huffman algorithm to compress the data.
*/
#include <iostream>
@parmentf
parmentf / GitCommitEmoji.md
Last active May 16, 2024 05:42
Git Commit message Emoji
@lmcarreiro
lmcarreiro / Program.cs
Created February 21, 2019 16:41
Get list of Access Point (BSSID and Signal) using C#
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@huynguyencong
huynguyencong / #BuildiOSWithGitHubAction.md
Last active May 16, 2024 05:40
Script to build iOS and deploy it to TestFlight using GitHub action

When merging code to build/test-flight branch, it is built and uploaded to TestFlight automatically by GitHub Action.

Set up/update the following secrets:

  • CERTIFICATES_FILE_BASE64: Base64 of the App Store distribution certificate.
  • CERTIFICATES_PASSWORD: App Store distribution certificate password.
  • APPSTORE_ISSUER_ID: App Store Connect API key's issuer ID.
  • APPSTORE_KEY_ID: App Store Connect API key's key ID.
  • APPSTORE_PRIVATE_KEY: App Store Connect API key's private key (raw p8 file).
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 16, 2024 05:37
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@66Ton99
66Ton99 / DateTime.php
Last active May 16, 2024 05:31
DateTime
<?php
namespace MyNamespace;
/**
* @author Ton Sharp <66Ton99@gmail.com>
*/
class DateTime extends \DateTime
{
/**
* @param int|null $year
@adrianlzt
adrianlzt / exec_other_ns.go
Created April 22, 2021 17:18
golang: execute command under different network namespace
/*
* Execute a command under a different network namespace
*/
package main
import (
"fmt"
"io/ioutil"
"log"